module.exports = {
    configureWebpack: {
        devtool: 'souce-map'
    },
    devServer: {
        port:8088,
        proxy: {
            '/mshop/api/gataway': {
                target: 'http://127.0.0.1:3333',
                changeOrigin: true,
                pathRewrite: {
                    'mshop/api/gataway': ''
                }
            },
            '/warehouse/api/gataway': {
                target: 'http://127.0.0.1:3334',
                changeOrigin: true,
                pathRewrite: {
                    'warehouse/api/gataway': ''
                }
            }
        },
        disableHostCheck: true,
        overlay: {
            warnings: false,
            errors: false
        }
    }
}
